package com.echo.week02.jvm;


import org.openjdk.jol.info.ClassLayout;

/**
 * @Author echo
 * @Description 打印空对象的内存布局信息
 * @Date 2023/9/28.
 * @Version 1.0
 */
public class ObjectLock01 {
    public static void main(String[] args) {
        Object o = new Object();
        System.out.println("new Object:"+ ClassLayout.parseInstance(o).toPrintable());
    }
}
